﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;
using PSE.Framework.Configuration;

namespace Sinacor.UI.Application.Settings
{
    /// <summary>
    /// Elemento de configuração que representa um módulo do sistema
    /// </summary>
    public class ModuleConfigurationElement : BaseConfigurationElement
    {
        public ModuleConfigurationElement()
            : base()
        {
        }

        [ConfigurationProperty("version")]
        public string Version
        {
            get { return (string)this["version"]; }
        }

        [ConfigurationProperty("folder")]
        public string Folder
        {
            get { return (string)this["folder"]; }
        }

        [ConfigurationProperty("centuraPath")]
        public string CenturaPath
        {
            get { return (string)this["centuraPath"]; }
        }

        [ConfigurationProperty("centuraExecutable")]
        public string CenturaExecutable
        {
            get { return (string)this["centuraExecutable"]; }
        }
    }
}
